// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** acceptOnlineInterviewInvite GET /api/common/accept/online/interview/invite */
export async function acceptOnlineInterviewInviteUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.acceptOnlineInterviewInviteUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/common/accept/online/interview/invite', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** examineRecruiter GET /api/common/examine/recruiter */
export async function examineRecruiterUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.examineRecruiterUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/common/examine/recruiter', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** getFullProcessInterviewListWithCompany GET /api/common/get/full/process/interview/list/with/company */
export async function getFullProcessInterviewListWithCompanyUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getFullProcessInterviewListWithCompanyUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseListGetFullProcessInterviewListWithCompanyResponse_>(
    '/api/common/get/full/process/interview/list/with/company',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  )
}

/** personScoringAndComment POST /api/common/person/scoring/and/comment */
export async function personScoringAndCommentUsingPost(
  body: API.PostPersonScoringAndCommentRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/common/person/scoring/and/comment', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** recruiterViewOnlineInterviewList GET /api/common/recruiter/view/online/interview/list */
export async function recruiterViewOnlineInterviewListUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.recruiterViewOnlineInterviewListUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseListRecruiterViewOnlineInterviewListResponse_>(
    '/api/common/recruiter/view/online/interview/list',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  )
}

/** sendOnlineInterviewInvite POST /api/common/send/online/interview/invite */
export async function sendOnlineInterviewInviteUsingPost(
  body: API.SendOnlineInterviewInviteRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/common/send/online/interview/invite', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** userViewOnlineInterviewList GET /api/common/user/view/online/interview/list */
export async function userViewOnlineInterviewListUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseListUserViewOnlineInterviewListResponse_>(
    '/api/common/user/view/online/interview/list',
    {
      method: 'GET',
      ...(options || {}),
    }
  )
}

/** viewExamineRecruiterAccount GET /api/common/view/examine/recruiter/account */
export async function viewExamineRecruiterAccountUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseListUser_>('/api/common/view/examine/recruiter/account', {
    method: 'GET',
    ...(options || {}),
  })
}
